package Lab02.test35;

/**
 * Created by Administrator on 2017/11/14.
 */
public class Test {
    public static void main(String[] args) {
        Manager m=new Manager("马姝",10000);
        Salesman s=new Salesman("毛敏",2000,50,80);
        Worker w=new Worker("罗玲玲",28,80);
        System.out.println("经理"+m.getName()+"的工资为："+m.computeSalary());
        System.out.println("销售人员"+s.getName()+"的工资为："+s.computeSalary());


    }
}
